package com.viethp.mt.activities;

import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.app.Activity;

public class AAcountUpdate extends Activity implements OnClickListener {
	
	Button btn_update, btn_back;
	
	public void onCreate(Bundle savedInstanceState){
		super.onCreate(savedInstanceState);
		setContentView(R.layout.a_account_update);
		
		initComponents();
		setOnClickListener();
	}
	
	public void initComponents(){
		btn_update = (Button) findViewById(R.id.btn_update);
		btn_back = (Button) findViewById(R.id.btn_back);
	}
	public void setOnClickListener(){
		btn_update.setOnClickListener(this);
		btn_back.setOnClickListener(this);
	}

	@Override
	public void onClick(View v) {
		switch (v.getId()) {
		case R.id.btn_update:
			finish();
			break;
		case R.id.btn_back:
			finish();
			break;
		default:
			break;
		}
		
	}
}
